package io.wdb.modules.activity.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import io.wdb.modules.activity.wx.dao.MarketUserRankDao;
import io.wdb.modules.activity.wx.entity.MarketUserRankEntity;
import io.wdb.modules.activity.wx.service.MarketUserRankService;

import java.util.List;
import java.util.Map;



@Service("marketUserRankService")
public class MarketUserRankServiceImpl implements MarketUserRankService {
	@Autowired
	private MarketUserRankDao marketUserRankDao;
	
	@Override
	public MarketUserRankEntity queryObject(Long id){
		return marketUserRankDao.queryObject(id);
	}
	
	@Override
	public List<MarketUserRankEntity> queryList(Map<String, Object> map){
		return marketUserRankDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return marketUserRankDao.queryTotal(map);
	}
	
	@Override
	public void save(MarketUserRankEntity marketUserRank){
		marketUserRankDao.save(marketUserRank);
	}
	
	@Override
	public void update(MarketUserRankEntity marketUserRank){
		marketUserRankDao.update(marketUserRank);
	}
	
	@Override
	public void delete(Long id){
		marketUserRankDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		marketUserRankDao.deleteBatch(ids);
	}
	
}
